
TrajCutoffSize=50;
figure
hold on
total=0;
for i=1:length(Traj)
    [m n]=size(Traj{i});
    if (m >= TrajCutoffSize)
        total=total+1;
        clear frames objects toPlot
        TrajToProcess=i;
        frames=Traj{TrajToProcess,1}(:,1);
        objects=Traj{TrajToProcess,1}(:,2);
        frameObjs=ObjectsByFrame(frames);
        for j=1:length(frames)
            toPlot(j)=frameObjs{j}(objects(j),parameters.ON.fluorMax);
        end
        plot(frames,toPlot)
    end
end


    